package com.aphrodite.io.sip.header;

import com.aphrodite.io.sip.address.NameAddress;
import com.aphrodite.io.sip.address.SipURL;

/**
 * SIP Referred-By header (draft-ietf-sip-referredby).
 * <p>
 * Referred-By is a request header field (request-header). It appears in REFER
 * requests. It provides the URL of the referrer.
 */
public final class ReferredByHeader extends NameAddressHeader {

	/** Costructs a new ReferredByHeader. */
	public ReferredByHeader(Header hd) {
		super(hd);
	}

	/** Costructs a new ReferredByHeader. */
	public ReferredByHeader(NameAddress nameaddr) {
		super(SipHeaders.Referred_By, nameaddr);
	}

	/** Costructs a new ReferredByHeader. */
	public ReferredByHeader(SipURL url) {
		super(SipHeaders.Referred_By, url);
	}
}
